package com.sip.stream.utils.zfy;

import com.google.gson.Gson;

public class ZFYFileTransferTaskModel {
    private long ariaTaskId;
    private String businessType;
    private long createTime;
    private String hashcode;
    private String hashtype;
    private String localPath;
    private String name;
    private String passWord;
    private float percent;
    private String protocol;
    private String remark;
    private String remotePath;
    private int status;
    private int transType;
    private String userName;

    public ZFYFileTransferTaskModel() {
        this.transType = 0;
        this.status = 0;
        this.createTime = System.currentTimeMillis();
    }

    public ZFYFileTransferTaskModel(int transType, String businessType) {
        this.status = 0;
        this.transType = transType;
        this.businessType = businessType;
        this.createTime = System.currentTimeMillis();
    }

    public String toString() {
        return new Gson().toJson(this);
    }

    public String getLocalPath() {
        return this.localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getAriaTaskId() {
        return this.ariaTaskId;
    }

    public void setAriaTaskId(long ariaTaskId) {
        this.ariaTaskId = ariaTaskId;
    }

    public String getRemotePath() {
        return this.remotePath;
    }

    public void setRemotePath(String remotePath) {
        this.remotePath = remotePath;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return this.passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getProtocol() {
        return this.protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public int getTransType() {
        return this.transType;
    }

    public void setTransType(int transType) {
        this.transType = transType;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBusinessType() {
        return this.businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getHashcode() {
        return this.hashcode;
    }

    public void setHashcode(String hashcode) {
        this.hashcode = hashcode;
    }

    public String getHashtype() {
        return this.hashtype;
    }

    public void setHashtype(String str) {
        this.hashtype = str;
    }

    public float getPercent() {
        return this.percent;
    }

    public void setPercent(float percent) {
        this.percent = percent;
    }
}
